package ExceptionAndThread.Thread02;

public class MyThread extends Thread {
    //重写run方法
    @Override
    public void run() {
        for (int i = 0; i < 20; i++) {
            System.out.println("thread\t"+i);
        }
    }
}
